a = open('1.txt','w')
b = 'hello word  miss dj'
a.write(b)
a.close()
import linecache
lines = linecache.getlines('1.txt')
print lines
